package com.boyunv.adapter.example01;/*
 *@description
 *
 *@author boyunv
 *@create 2023/7/18 7:36
 *@version 1.0
 */

public class Client {

    public static void main(String[] args) {
        Computer computer = new Computer();
        SDCard sdCard=new SDCardImpl();
        String read = computer.read(sdCard);
        System.out.println(read);

        System.out.println("============================");

        SDAdapterTF sdAdapterTF = new SDAdapterTF();
        System.out.println(computer.read(sdAdapterTF));
    }
}
